//
//  XGTopicModel.h
//  BSBuDeJie
//
//  Created by monkey on 2018/12/21.
//  Copyright © 2018 itcast. All rights reserved.
//

#import <Foundation/Foundation.h>

@class XGTopCommentModel;


@interface XGTopicModel : NSObject

/// 用户的名字
@property (nonatomic, copy) NSString *name;
/// 用户的头像
@property (nonatomic, copy) NSString *profileImage;
/// 帖子的文字内容
@property (nonatomic, copy) NSString *text;
/// 帖子审核通过的时间
@property (nonatomic, copy) NSString *passtime;

/// 顶数量
@property (nonatomic, assign) NSInteger ding;
/// 踩数量
@property (nonatomic, assign) NSInteger cai;
/// 转发分享数量
@property (nonatomic, assign) NSInteger repost;
/// 评论数量 
@property (nonatomic, assign) NSInteger comment;

/// 帖子时间id
@property (nonatomic,assign) NSInteger timeId;
/// 热评
@property (nonatomic,strong) XGTopCommentModel *topCmt;
/// 图片高度
@property (nonatomic,assign) CGFloat height;
/// 图片宽度
@property (nonatomic,assign) CGFloat width;
/// 背景图片
@property (nonatomic,copy) NSString *imageURL;
/// 帖子类型
@property (nonatomic,assign) NSInteger type;
/// 是否是gif
@property (nonatomic,assign) BOOL isGif;
/// 播放次数
@property (nonatomic,assign) NSInteger playcount;
/// 视频时长
@property (nonatomic,assign) NSInteger videotime;
/// 声音时长
@property (nonatomic,assign) NSInteger voicetime;

// 自定义属性
/// 行高
@property (nonatomic,assign,readonly) CGFloat rowHeight;
/// 是否是大图
@property (nonatomic,assign,readonly) BOOL isBigImage;

@end

